package br.edu.fapi.gestao.pg.mapeador;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import br.edu.fapi.gestao.pg.dominio.Monitor;

public class MapeadorMonitor implements RowMapper<Monitor>{

	public Monitor mapRow(ResultSet rs, int rowNum)
			throws SQLException {
		Monitor monitor= new Monitor();
		monitor.setNome(rs.getString("nome"));
		return monitor;
	}

}
